<!DOCTYPE html>
<meta charset=utf-8>
<title>valid src</title>
<img src="file:///" alt><!-- scheme-file-slash-slash-slash-only -->
<img src="http://a:@www.example.com" alt><!-- userinfo-password-empty -->
<img src="foo://///////" alt><!-- scheme-private-path-leading-slashes-only -->
<img src="file://abc|/foo/bar" alt><!-- scheme-file-slash-slash-abc-bar -->
<img src="/a/b/c" alt><!-- path-simple-relative -->
<img src="http://example.com/你好你好" alt><!-- path-unicode-han -->
<img src="/a/%2f/c" alt><!-- path-percent-encoded-slash-plus-slashes-relative -->
<img src="http://f:/c" alt><!-- port-none-but-colon -->
<img src="http://example.com/foo%41%7a" alt><!-- path-percent-encoded-multiple -->
<img src="http://192.168.0.257/" alt><!-- host-IP-address-broken -->
<img src="madeupscheme:example.com/" alt><!-- scheme-private-no-slash -->
<img src="?" alt><!-- query-empty-no-path-relative -->
<img src="http://example.com/%20foo" alt><!-- path-percent-encoded-space -->
<img src="mailto:/example.com/" alt><!-- scheme-mailto-single-slash -->
<img src="::" alt><!-- path-leading-colon-colon-relative -->
<img src="http://example.com/%3A%3a%3C%3c" alt><!-- path-percent-encoded-mixed-case -->
<img src="http://user:pass@foo:21/bar;par?b#c" alt><!-- userinfo -->
<img src="ws:/example.com/" alt><!-- scheme-ws-single-slash -->
<img src="foo://" alt><!-- scheme-private-slash-slash -->
<img src="#" alt><!-- fragment-empty-hash-only-no-path-relative -->
<img src="http://f:00000000000000/c" alt><!-- port-00000000000000 -->
<img src="foo:////://///" alt><!-- scheme-private-path-leading-slashes-colon-slashes -->
<img src=":23" alt><!-- path-leading-colon-number-relative -->
<img src="foo:/" alt><!-- scheme-private-slash -->
<img src="http://💩" alt><!-- host-is-pile-of-poo -->
<img src="file:test" alt><!-- scheme-file-no-slash -->
<img src="file://C|/foo/bar" alt><!-- scheme-file-slash-slash-c-bar -->
<img src="#/" alt><!-- fragment-slash-relative -->
<img src="http://192.0x00A80001" alt><!-- host-192.0x00A80001 -->
<img src="foo.com" alt><!-- scheme-none-relative -->
<img src="http💩//:foo" alt><!-- path-contains-pile-of-poo -->
<img src="File://foo/bar.html" alt><!-- scheme-file-uppercase -->
<img src=":/" alt><!-- path-leading-colon-slash-relative -->
<img src="http://www.foo。bar.com" alt><!-- host-exotic-dot -->
<img src="http://GOO​⁠﻿goo.com" alt><!-- host-exotic-whitespace -->
<img src="file:///foo/bar.txt" alt><!-- scheme-file-host-empty -->
<img src="javascript:/example.com/" alt><!-- scheme-javascript-single-slash -->
<img src="gopher:/example.com/" alt><!-- scheme-gopher-single-slash -->
<img src="ftps:example.com/" alt><!-- scheme-ftps-no-slash -->
<img src="file://server/foo/bar" alt><!-- scheme-file-host-included -->
<img src="http://example.com/foo%00" alt><!-- path-percent-encoded-u0000 -->
<img src="a:foo.com" alt><!-- scheme-private -->
<img src=":" alt><!-- path-colon-relative -->
<img src="http://:b@www.example.com" alt><!-- userinfo-user-empty -->
<img src="file:/" alt><!-- scheme-file-slash-only -->
<img src="wss:example.com/" alt><!-- scheme-wss-no-slash -->
<img src="::23" alt><!-- path-colon-colon-number-relative -->
<img src="/a%2fc" alt><!-- path-percent-encoded-slash-relative -->
<img src="http://a:b@c:29/d" alt><!-- userinfo-host-port-path -->
<img src="gopher:example.com/" alt><!-- scheme-gopher-no-slash -->
<img src="madeupscheme:/example.com/" alt><!-- scheme-private-single-slash -->
<img src="mailto:example.com/" alt><!-- scheme-mailto-no-slash -->
<img src="http://%25DOMAIN:foobar@foodomain.com" alt><!-- userinfo-username-contains-percent-encoded -->
<img src="/:23" alt><!-- path-slash-colon-number-relative -->
<img src="foo://///////bar.com/" alt><!-- scheme-private-path-leading-slashes-chars -->
<img src="http://[2001::1]:80" alt><!-- host-ipv6-port -->
<img src="data:text/plain,foo" alt><!-- scheme-data-no-slash -->
<img src="http://example.com/foo/%2e" alt><!-- path-percent-encoded-dot -->
<img src="file:/example.com/" alt><!-- scheme-file-single-slash -->
<img src="http://example.com/Â©zbar" alt><!-- path-non-ascii -->
<img src="http://example.com/﻿/foo" alt><!-- path-uFEFF -->
<img src="wss:/example.com/" alt><!-- scheme-wss-single-slash -->
<img src="http://foo/abcd#foo?bar" alt><!-- fragment-contains-question-mark -->
<img src=":#" alt><!-- path-leading-colon-hash-relative -->
<img src="http://example.com/foo%91" alt><!-- path-percent-encoded-u0091 -->
<img src="c:/foo" alt><!-- scheme-private-single-letter -->
<img src=":foo.com" alt><!-- path-leading-colon-chars-relative -->
<img src="http://你好你好" alt><!-- host-idn-unicode-han -->
<img src="http://example.com/foo#💩" alt><!-- fragment-contains-pile-of-poo -->
<img src="file:" alt><!-- scheme-file-scheme-only -->
<img src="#β" alt><!-- fragment-non-ascii-relative -->
<img src="foo:/bar.com/" alt><!-- scheme-private-path -->
<img src="http://f:0/c" alt><!-- port-0 -->
<img src="#;?" alt><!-- fragment-semicolon-question-mark-relative -->
<img src="http://Ｇｏ.com" alt><!-- host-fullwidth -->
<img src="http://@www.example.com" alt><!-- userinfo-empty -->
<img src="http://example.com/‮/foo/‭/bar" alt><!-- path-u202E-u202D -->
<img src="http://[2001::1]" alt><!-- host-ipv6 -->
<img src="💩http://foo" alt><!-- path-starts-with-pile-of-poo -->
<img src="http://foo/abcd?efgh?ijkl" alt><!-- query-contains-question-mark -->
<img src="//foo/bar" alt><!-- scheme-schemeless-relative -->
<img src="ftps:/example.com/" alt><!-- scheme-ftps-single-slash -->
<img src="http://foo.com:b@d/" alt><!-- userinfo-username-non-alpha -->
<img src=":a" alt><!-- path-leading-colon-letter-relative -->
<img src="/" alt><!-- path-slash-only-relative -->
<img src="http://example.com/foo?💩" alt><!-- query-contains-pile-of-poo -->
<img src="http://f:00000000000000000000080/c" alt><!-- port-00000000000000000000080 -->
<img src="file://" alt><!-- scheme-file-slash-slash-only -->
